package com.gyt.framework.exception;

import lombok.Getter;

/**
 * @Author created by v_yantgao
 * @Date 2021/1/6 16:35
 */
@Getter
public class BaseException extends RuntimeException {

    private String code;

    private String msg;

    public BaseException(String code, String msg) {
        super(code + "-" + msg);
        this.code = code;
        this.msg = msg;
    }
}
